﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/1 18:34:10
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class JsonComicCategorySubjectInfoSubject
    {
        [DataMember(Name = "updatetime")]
        public string Updatetime { get; set; }

        [DataMember(Name = "position")]
        public int Position { get; set; }

        [DataMember(Name = "subjectid")]
        public int Subjectid { get; set; }

        [DataMember(Name = "cover3url")]
        public string Cover3url { get; set; }

        [DataMember(Name = "cover2url")]
        public string Cover2url { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }

        [DataMember(Name = "name")]
        public string Name { get; set; }
    }

    [DataContract]
    public class JsonComicCategorySubjectInfo
    {

        [DataMember(Name = "subjects")]
        public ObservableCollection<JsonComicCategorySubjectInfoSubject> Subjects { get; set; }
    }

    [DataContract]
    public class JsonComicCategorySubject
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicCategorySubjectInfo Info { get; set; }
    }
}
